home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 051-075 / disk_061 / lpatch / poster < prev   
Text File  |  1992-05-06  |  2KB  |  47 lines

  1. Article 2700 of comp.sys.amiga:
  2. Path: mcdsun!noao!hao!oddjob!uwvax!rutgers!cbmvax!carolyn
  3. From: carolyn@cbmvax.cbm.UUCP (Carolyn Scheppner CATS)
  4. Newsgroups: comp.sys.amiga
  5. Subject: Patch for Atom
  6. Keywords: Atom
  7. Message-ID: <1546@cbmvax.cbmvax.cbm.UUCP>
  8. Date: 12 Mar 87 19:52:10 GMT
  9. Reply-To: carolyn@cbmvax.UUCP (Carolyn Scheppner CATS)
  10. Distribution: comp
  11. Organization: Commodore Technology, West Chester, PA
  12. Lines: 112
  13.  
  14. TITLE: Patch for Atom and other programs with bad 1.0 Lstartup code
  15.  
  16.    Atom and some other programs linked with 1.0 Lstartup.obj abort
  17. during startup under 1.2 with an 00038007. Alert (can't open dos library).
  18. This is caused by D0 (version) being uninitialized before the early
  19. Lstartup's OpenLibrary call.  What follows is a list of patch locations
  20. and values to correct executables such as Atom which have this problem.
  21. The patch list is followed by a short program "LPatch.c" which automates
  22. the patch process.  The usage is:  LPatch filename.  LPatch will only
  23. modify the file if all of the patch locations contain the correct
  24. old values.
  25.  
  26. Here's the patch list (all offsets and values in HEX):
  27.  
  28. File Offset   
  29. ===========
  30.  
  31.    $196    OLD = 01 4E         (BSR openDOS)
  32.            NEW = 00 A8         (BSR 3rd patch)
  33.  
  34.    $213    OLD = D2            (BSR openDOS)
  35.            NEW = 2C            (BSR 3rd patch)
  36.  
  37.    $23E    OLD = 24 3C 00 00 03 ED   (some unused code)  
  38.            NEW = 70 00 60 00 00 A2   (MOVEQ #0,D0;  BRA.S openDOS)
  39.  
  40.  
  41. -- 
  42. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  43. Carolyn Scheppner -- CBM   >>Amiga Technical Support<<
  44.                      UUCP  ...{allegra,caip,ihnp4,seismo}!cbmvax!carolyn 
  45.                      PHONE 215-431-9180
  46. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  47.